<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>我的信息</title>
  <link rel="stylesheet" href="/vendor/simple-line-icons/css/simple-line-icons.css">
  <link rel="stylesheet" href="/vendor/font-awesome/css/fontawesome-all.min.css">
  <link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<div class="page-wrapper">
  <div class="main-container">
    <div class="content">
      <div class="container">
        <div class="row">
          <div class="col-12">
            <div class="card">
              <div class="card-body p-0">
<!--                <input type="hidden" id="userId" name="userId" th:value="${user.id}"/>-->
<!--                <input type="hidden" id="userName" name="userName" th:value="${user.name}"/>-->
                <div class="row pb-5 p-5">
                  <div class="col-md-6">
                    <p class="font-weight-bold mb-4">信息</p>
                    <p class="mb-1">姓名：<span th:text="${reglist.name}"></span></p>
                    <p id="xb">学院：<span th:text="${reglist.college}"></span></p>
                    <!--                    <p class="mb-1" id="phone">手机号码：<span th:text="${user.phone}"></span></p>-->
                    <!--                    <p class="mb-1" id="email">邮箱：<span th:text="${user.email}"></span></p>-->
                  </div>

                  <div class="col-md-6 text-right">
                    <p class="font-weight-bold mb-4">详情</p>
                    <p class="mb-1"><span class="text-muted">学/工号: <span th:text="${reglist.user_id}"></span></span></p>
                    <p class="mb-1" id="yhm"><span class="text-muted">学院:<span th:text="${reglist.college}"></span> </span></p>
                    <p class="mb-1" id="mm"><span class="text-muted">姓名:<span th:text="${reglist.name}"></span> </span></p>
                    <p class="mb-1" id="xy"><span class="text-muted">未登记次数:<span th:text="${reglist.unregnum}"></span> </span></p>
                    <p class="mb-1" id="zk"><span class="text-muted">最后登记时间<span th:text="${reglist.lastregtime}"></span> </span></p>
                  </div>
                </div>

                <!--<div class="row p-5">
                    <div class="col-md-12">
                        <a id="add_kp"><button type="button" class="btn btn-outline-primary">修改信息</button></a>
                        <a id="add_wj"><button type="button" class="btn btn-outline-primary">违纪处理</button></a>
                    </div>
                </div>-->

              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="/vendor/jquery/jquery.min.js"></script>
<script src="/vendor/popper.js/popper.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="/vendor/chart.js/chart.min.js"></script>
<script>
  var userId=$("#userId").val();
  $(document).ready(function () {
    $("#add_kp").attr("href","/teacher/addUserKp?userId="+userId);
    $("#add_wj").attr("href","/teacher/addWj?userId="+userId);
  });
</script>
</body>
</html>
